#ifndef FUNCTIONHANDLER_H_
#define FUNCTIONHANDLER_H_
#include <sys/time.h>
typedef void (*func)(void*);

typedef struct infos
{
	void (*func)(void*);
	struct itimerval intervalTimeAndVal;
//			    struct timeval it_interval; /* next value */
//              struct timeval it_value;    /* current value */
    struct timeval val;
//                long tv_sec;                /* seconds */
//                long tv_usec;               /* microseconds */
	struct rlimit funcRLimit;
//                rlim_t rlim_cur;  /* Soft limit in seconds*/
//                rlim_t rlim_max;  /* Hard limit (ceiling for rlim_cur) in seconds*/
}info_s,*info_p;

void readString(void *);
void numberEnumerator(void*);
void sigChildIgn(void *);
void functionError(void *);
#endif /*FUNCTIONHANDLER_H_*/
